/**
 Copyright (C) 2008 ZHENG Zhong <http://www.zhengzhong.net/>
 
 Created on 2009-04-06.
 $Id$
 */


/*--------------------------------------------------------------------------------------------------
 * Form
 *------------------------------------------------------------------------------------------------*/

.form {
  margin: 0;
  padding: 0;
}

.form textarea, .form input, .form select {
  border: 1px solid #BBBBBB;
}

.form textarea, .form input, .form select option {
  font: normal normal 100% arial,sans-serif;
  line-height: 1.4em;
}

.form .hidden {
  display: none;
}

.form table tbody th, .form tbody td {
  white-space: nowrap;
}

.form table tbody th {
  font: normal bold 100% 'Trebuchet MS',arial,sans-serif;
  text-align: right;
  width: 1px;
}

.form .help_text {
  font-family: 'Trebuchet MS',arial,sans-serif;
  color: #888888;
}

.form ul.errorlist {
  margin: 0;
  padding: 0 4px 0 4px;
}

.form ul.errorlist li {
  margin: 0;
  padding: 0;
  color: #FF0000;
  font-family: 'Trebuchet MS',arial,sans-serif;
  text-indent: 0;
  list-style: none outside none;
}

.form div {
  margin: 0;
  padding: 0 0 4px 0;
}

/*--------------------------------------------------------------------------------------------------
 * Form headers
 *------------------------------------------------------------------------------------------------*/

.form table thead th h1 {
  margin: 0;
  padding: 4px 0 4px 0;
  font: normal bold 120% 'Trebuchet MS',arial,sans-serif;
  text-align: center;
  background-color: #E8E8E8;
}


/*--------------------------------------------------------------------------------------------------
 * Small form
 *------------------------------------------------------------------------------------------------*/

form.small input[type="text"],
form.small input[type="password"],
form.small select {
  width: 220px;
}

form.small textarea {
  width: 220px;
  height: 120px;
}

/*--------------------------------------------------------------------------------------------------
 * Big form
 *------------------------------------------------------------------------------------------------*/

form.big input[type="text"],
form.big input[type="password"],
form.big select {
  width: 500px;
}

form.big textarea {
  width: 500px;
  height: 200px;
}


/*--------------------------------------------------------------------------------------------------
 * Override form button
 *------------------------------------------------------------------------------------------------*/

.form input.button {
  width: auto;
  padding: 2px 4px 2px 4px;
  color: #FFFFFF;
  background-color: #2090D0;
  border-width: 1px;
  border-style: solid;
  border-left-color: #60D0FF;
  border-top-color: #60D0FF;
  border-right-color: #0060B0;
  border-bottom-color: #0060B0;
}




